package com.stylefeng.guns.modular.pay.model;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 银行限额
 * </p>
 *
 * @author stylefeng
 * @since 2018-09-26
 */
@TableName("api_bank_limit")
public class BankLimit extends Model<BankLimit> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    /**
     * 银行名称
     */
    @TableField("bank_name")
    private String bankName;
    /**
     * 单笔限额
     */
    @TableField("single_limit")
    private BigDecimal singleLimit;
    /**
     * 单日限额
     */
    @TableField("daily_limit")
    private BigDecimal dailyLimit;
    
    /**
     * 限额日期
     */
    @TableField("limit_time")
    private String limitTime;
    
    /**
     * 交易开始时间
     */
    @TableField("start_time")
    private Date startTime;
    /**
     * 交易截止时间
     */
    @TableField("end_time")
    private Date endTime;
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public BigDecimal getSingleLimit() {
        return singleLimit;
    }

    public void setSingleLimit(BigDecimal singleLimit) {
        this.singleLimit = singleLimit;
    }

    public BigDecimal getDailyLimit() {
        return dailyLimit;
    }

    public void setDailyLimit(BigDecimal dailyLimit) {
        this.dailyLimit = dailyLimit;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    
    

    public String getLimitTime() {
		return limitTime;
	}

	public void setLimitTime(String limitTime) {
		this.limitTime = limitTime;
	}

	@Override
    public String toString() {
        return "BankLimit{" +
        "id=" + id +
        ", bankName=" + bankName +
        ", singleLimit=" + singleLimit +
        ", dailyLimit=" + dailyLimit +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
